
<h1><span class="yiyi-st" id="yiyi-12">numpy.core.defchararray.isdecimal</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.isdecimal.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.isdecimal.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="function">
<dt id="numpy.core.defchararray.isdecimal"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">numpy.core.defchararray.</code><code class="descname">isdecimal</code><span class="sig-paren">(</span><em>a</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/core/defchararray.py#L1638-L1666"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">对于每个元素，如果元素中只有十进制字符，则返回True。</span></p>
<p><span class="yiyi-st" id="yiyi-15">逐个调用<em class="xref py py-obj">unicode.isdecimal</em>。</span></p>
<p><span class="yiyi-st" id="yiyi-16">小数字符包括数字字符，以及可用于形成十进制数字的所有字符。 <code class="docutils literal"><span class="pre">U + 0660，</span> <span class="pre">ARABIC-INDIC</span> <span class="pre">DIGIT</span> <span class="pre">ZERO</span></code>。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-17">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-18"><strong>a</strong>：array_like，unicode</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-19">输入数组。</span></p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-20">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-21"><strong>out</strong>：ndarray，bool</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-22">数组的形状与<em class="xref py py-obj">a</em>相同。</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-23">也可以看看</span></p>
<p class="last"><span class="yiyi-st" id="yiyi-24"><code class="xref py py-obj docutils literal"><span class="pre">unicode.isdecimal</span></code></span></p>
</div>
</dd></dl>
